/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ch03_02;

/**
 *
 * @author osa
 */
public class ArithmeticDemo {

    public static void main(String[] args) {
        int result = 1 + 2;
        System.out.println(result);

        System.out.println(--result);

        System.out.println(result*=2);

        System.out.println(result/=2);

        result += 8;
        System.out.println(result%=7);

    }

}
